VhlCfg / File / DesfireMapKeyidx Value

If this entry exists all desfire key indexes within the configuration are mapped to 16 bit values.

Properties

Format

Name Type/Size Description
KeyidxMapList Array (until end of frame) Entry has to be a sorted list, sorted by keyidx in ascending order.
Keyidx Integer (8 bits) 8 bit key index as given in configuration values
KeyidxMsb Integer (16 bits) MSByte of the key index as explained above.
KeyidxLsb Integer (8 bits) This entry refers to a crypto key. Normally the value works as explaind below. If the configuration value DesfireMapKeyIdx exists, the meaning of this entry changes. Please refer to DesfireMapKeyIdx
  • 0x00-0x7F: index to SAM key, key version has to be 0
  • 0x80-0xBF: index to key defined in crypto memory of the reader: Device/CryptoKey
  • 0xC0-0xCB: index to key defined in VHL file: DesfireKeyList
  • 0xFE: legacy, use transport key 0xFF: key index unused

(Minimum value: 0x00, maximum value: 0xFE)